package com.hmall.trade;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@Slf4j
@MapperScan("com.hmall.trade.mapper")
@EnableFeignClients("com.hmall.api.client")
public class TradeApp {
    public static void main(String[] args) {
        SpringApplication.run(TradeApp.class);
        log.info("订单服务已启动");
    }

}
